home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / Centri / Centri.dir / 00284_Script_SpriteScroller < prev    next >
Text File  |  1999-02-25  |  369b  |  13 lines

  1.  
  2. on enterFrame me
  3.   if the loch of sprite the SpriteNum of me < -1000 then
  4.     set the loch of sprite the SpriteNum of me = 1000
  5.   else
  6.     set the loch of sprite the SpriteNum of me to the loch of sprite the SpriteNum of me - 10
  7.   end if
  8. end
  9.  
  10. on mouseWithin me
  11.   set the loch of sprite the SpriteNum of me to the loch of sprite the SpriteNum of me - 0
  12. end
  13.